package com.twu.biblioteca;

/**
 * Created by IntelliJ IDEA.
 * User: dixithk
 * Date: 6/9/14
 * Time: 11:55 AM
 * To change this template use File | Settings | File Templates.
 */

//job : represts a Book
public class Book {


    String bookName, authorName , publishedYear;
    public Book(String bookName, String  authorName , String publishedYear)
    {
        this.bookName = bookName;
        this.authorName = authorName;
        this.publishedYear = publishedYear;
    }

    public Book() {
        //To change body of created methods use File | Settings | File Templates.
    }

    public void toString(Book book)
    {
        System.out.println(book.bookName+'\t' + book.authorName+ '\t' +book.publishedYear);

    }
    
}
